from django.conf.urls import url
from django.contrib import admin

from md import views

urlpatterns = [
    # url(r'^admin/', admin.site.urls),
    url(r'^index/', views.home),
    url(r'^ajax_upload/', views.upload_file),
    url(r'^download/', views.download_file),
    url(r'^delete/', views.delete_file),
    url(r'^delete_files', views.delete_files),
    url(r'^folder_add/', views.add_folder),
    url(r'^list_file/', views.ajax_list_file),
    url(r'^file_move/', views.move_file),
    url(r'^child_folder_get/', views.get_child_folder),

    url(r'^share_list/', views.get_share_list),
    url(r'^eshare_list/', views.get_encrypt_share_file),
    url(r'^s/\w+/?', views.get_share_file),
    url(r'^share/', views.share_file),
    url(r'^share_delete/', views.delete_share),
    url(r'^validsp/', views.valid_share_pwd)
]
